Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Gothic Multiplayer
Gothic Multiplayer
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Gothic Multiplayer Team
  • Gothic MultiplayerGothic Multiplayer
  • Issues
  • #5

Closed
Open
Opened Nov 04, 2018 by Tommy@Tommy21

onPlayerSpellCast

Ostatnio robiąc autoryzację przedmiotów gracza zauważyłem, że brakuje mi pewnej możliwości. Tak więc chodzi tutaj o zdarzenie "onPlayerSpellCast(pid, itemId)" czy myśleliście nad możliwością zdecydowania przez skryptera czy zaklęcie ma być zsynchronizowane. Poniżej zamieszczam przykład:

addEventHandler("onPlayerSpellCast", function(pid, itemId)
{
    if(!authItem(pid).get(itemId)
        eventValue(false)//zaklęcie nie zostanie zsynchronizowane
})
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GothicMultiplayerTeam/GothicMultiplayer#5