- Joined
- Jan 6, 2020
- Messages
- 12
I am trying to write a system for item upgrade. But the system I wrote does not work. I'm not near my computer right now, but I can briefly explain.
how can i do this correctly?
Help me please.
Fitem[1]= item1
Fitem[2]= item2
Unit - Starts eff. ability
if
ability being cast eq item_abil2
action
for 1 to 4 integer A
for 1 to 6 integer B
if
item type - hero inv. slot integer B equal to Fitem[integer A]
if
math random 1 to 100 less than 65
give item Fitem[integer A +1]
how can i do this correctly?
Help me please.