Enemies after death bonuses (flying bonuses) - KageDesu/Alpha-ABS-Z GitHub Wiki
⚠️ Information actual for version 0.8.8 and above
You can specify extra drops (bonuses) that will fly from enemy (after death) to player and gain some bonuses
How create extra drop (bonus)
- You should add bonus in
Plugin Parameters -> Enemies Settings -> Flying bonuses
- Bonus have many options, configurate it as you want
How assign to the enemy
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
How call extra drop from any event
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!
⚠️ Examples you can find in Demo Project, map ID 56 AfterDeadBonuses