Mahdi10
New Member
- Joined
- Jan 27, 2023
- Messages
- 18
- Reaction score
- 2
I want help to make a script similar to the one made by @Xikini
Hey, hope you enjoy it.
This ended up being more complex then I originally expected. xD

With no bosses, only the room coordinates from north-west to south-east.
and when walking on the effect tile, player gets +1 storage value instead of bonus or protection, and when he achieves 10 value, he gets tped to a room.
A script for a boss that randomly creates two different effects on tiles. When a player steps into these tiles/effects, one effect gives extra damage for a duration, and the other effect gives extra protection for a duration, both against that boss only.Then effect disappear so only 1 player can step into it.
effect example:
View attachment 81593
effect shows with a chance
Hey, hope you enjoy it.

This ended up being more complex then I originally expected. xD

data/events/events.xml
-- make sure onSpawn is enabled
XML:
<event class="Monster" method="onSpawn" enabled="1"...
- Xikini
and when walking on the effect tile, player gets +1 storage value instead of bonus or protection, and when he achieves 10 value, he gets tped to a room.
Last edited: