• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Condition

imback1

Unknown member
Joined
Jul 11, 2013
Messages
785
Solutions
1
Reaction score
46
I was wondering if there is condition to not use spells and potions while using spell for example utito tempo!
Only the weapon.
 
CONDITION_EXHAUST AND CONDITION_MUTED
AND IF YOU DON'T NEED TO USE WEAPON USE THIS >> CONDITION_PACIFIED
 
Last edited:
Maybe first, check how potions and spell are working on your server. We don't know how your datapack is working.
If you want a idea how to do it quick you can do it by example in following way:
- When you use your spell, set the player storage
- Check if player got storage (from spell) in potions and prevent them from using while player got that storage
- When your spell will stop working remove storage from player

Or simplest way but similar:
- Add in your spell any Condition that will be represent the duration of your spell
- Check in potions if player got condition then can't use potions.

And remember - if you need extra condition for duration spells or something you can always add new in sources.

That's the two of few ways how you can do it.
 
Back
Top