function Game.Rule:OnKilled(victim, killer) if victim:IsMonster() then local V = victim:ToMonster() Mob = Game.Monster.Create(V.type, {x=V.position.x, y= V.position.y, z = V.position.z}) Mob.position = V.position Mob.health = V.maxhealth Mob.damage = V.damage Mob.coin = V.coin end end
Lv. 65익스트림트롤2020.03.01