Sphereserver / Scripts

http://spherecommunity.net
26 stars 19 forks source link

sphere_monsters.scp #16

Closed Hiroyito closed 6 years ago

Hiroyito commented 6 years ago

On the "sphere_monsters.scp"

Layer "16652" in raptor def. there is the code couse problem. When you summon a raptor and going to its visual area, raptor starts to duplicate it self.

"ON=@NPCSeeNewPlayer //Summon pack IF ( & statf_conjured) || ( & statf_pet) RETURN 0 ENDIF IF ( >= 25) && ( < 2) MANA -= 25 TAG0.CURFOLLOWER += 1 SERV.NEWNPC c_raptor NEW.TAMING=0 NEW.P=

NEW.HOME= NEW.HOMEDIST=7 NEW.ATTACK NEW.f_NPCRemovalTimer 1200 ENDIF ON=@Death IF () REF1= IF (==c_raptor) REF1.TAG0.CURFOLLOWER -= 1 ENDIF ENDIF"

coruja747 commented 6 years ago

Fixed https://github.com/Sphereserver/Scripts/commit/8d18f6221c12027a785dd797227ea71c1b806267