Thyr
New member
- Messages
- 78
- Points
- 0
- Github
- warcraftfrozen
Hello, I got a problem that my Punching Bug monster respawn even tho current Dummy is not yet dead or at 0% HP (Isn't it configured to respawn if the other punching bag died), Now It spawns another punching bag so it will stack .
Here's the script I am using.
Here's the script I am using.
Code:
- script Punching Bag FAKE_NPC,{
OnInit:
setmapflag( "rebel_mt",mf_monster_noteleport );
OnDummyKill:
monster "rebel_mt",203,160,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";
monster "rebel_mt",209,160,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";
end;
OnPCAttackEvent:
if ( !@test_punch ) end;
@dps_damage += @damage;
end;
}