self damage possible
Change in lua spell damage to make self damage possible (allows /castspell to function correctly)
This commit is contained in:
parent
d06d3fd0e3
commit
3195a78e82
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ int EQ2Emu_lua_SpellDamage(lua_State* state){
|
|||
if (luaspell->initial_target == target_id) {
|
||||
int xxx = 0;
|
||||
}
|
||||
if (luaspell->targets.size() > 0 && (luaspell->initial_target != target_id)) {
|
||||
if (luaspell->targets.size() > 0) {
|
||||
ZoneServer* zone = luaspell->caster->GetZone();
|
||||
Spawn* target = 0;
|
||||
luaspell->MSpellTargets.readlock(__FUNCTION__, __LINE__);
|
||||
|
|
Loading…
Reference in a new issue