Enemies after death bonuses (flying bonuses)
Pheonix KageDesu edited this page Mar 16, 2023
·
2 revisions
You can specify extra drops (bonuses) that will fly from enemy (after death) to player and gain some bonuses
- You should add bonus in
Plugin Parameters -> Enemies Settings -> Flying bonuses
- Bonus have many options, configurate it as you want
Use ABS parameter <bonusOnDeadIds:X,...>
for assign bonus (by Index) to enemy.
Examples:
<bonusOnDeadIds:1,2,3> // support multiple bonuses
<bonusOnDeadIds:5> // or single only
When enemy is died, bonus (bonuses) will be spawned above him
Use script call: uAPI.spawnFlyingBonus(EVENT_ID, BONUSES);
Examples:
uAPI.spawnFlyingBonus(12, [1,2,3]); // spawn multiple bonuses (1,2,3) from event ID 12
uAPI.spawnFlyingBonus(43, [5]); // or single only, [] is required!
AfterDeadBonuses