Hey Suriyun, this isn't actually an issue but rather advice on this code, can you look at this and tell me whats wrong?
I tried adding change weapon to status effect, and also added status effect to attributes to have "timed" stat upgrades because you can put a lifetime on status effects but not attributes.
It all works right except changing weapon. It does change the weapon but it wont change the weapon back to the players original when the status effect lifetime is up.
Hey Suriyun, this isn't actually an issue but rather advice on this code, can you look at this and tell me whats wrong? I tried adding change weapon to status effect, and also added status effect to attributes to have "timed" stat upgrades because you can put a lifetime on status effects but not attributes.
It all works right except changing weapon. It does change the weapon but it wont change the weapon back to the players original when the status effect lifetime is up.
here is my code:
status effect code change: https://i.gyazo.com/5efea6fcfd5864c07348f3e0afa13857.png
characterEntity code changes: https://i.gyazo.com/3a363c82ed865b2842f6e8e6b5ac0653.png https://i.gyazo.com/91d1af51c47340e5314a2f5770bd6dae.png
what do you think i'm doing wrong?