예제 #1
0
 public void HandleSpellCheck(Creature caster)
 {
     lock (lockThis) {
         Spell spell = caster.GetSpell();
         if (spell != null)
         {
             ThingSet tSet = new ThingSet();
             spellSystem.CastSpell(spell.Name, caster, spell, this);
             SendProtocolMessages();
         }
     }
 }
예제 #2
0
 public void HandleSpellCheck(Creature caster)
 {
     lock (lockThis) {
         Spell spell = caster.GetSpell();
         if (spell != null) {
             ThingSet tSet = new ThingSet();
             spellSystem.CastSpell(spell.Name, caster, spell, this);
             SendProtocolMessages();
         }
     }
 }