Reborn Posted January 17, 2017 Posted January 17, 2017 Hi everyone can anyone help me make a script for this one? Once the player wear this type of accessory it will give some additional stats to the homunculus example: Increases Homunculus STR and VIT by 15 Then once the player unequip the accessory it will remove the stats to the homunculus as well. Thanks in advance Quote
0 Emistry Posted January 19, 2017 Posted January 19, 2017 (edited) didnt test, not sure if it work. ...,{ },{ .@homun_id = gethominfo(7); getunitdata .@homun_id,.@homun_data; setunitdata .@homun_id,UHOM_STR,(.@homun_data[UHOM_STR] + 15); setunitdata .@homun_id,UHOM_VIT,(.@homun_data[UHOM_VIT] + 15); },{ .@homun_id = gethominfo(7); getunitdata .@homun_id,.@homun_data; setunitdata .@homun_id,UHOM_STR,(.@homun_data[UHOM_STR] - 15); setunitdata .@homun_id,UHOM_VIT,(.@homun_data[UHOM_VIT] - 15); } Edited January 19, 2017 by Emistry Quote
0 Reborn Posted January 19, 2017 Author Posted January 19, 2017 Hi Emistry when I tried the code i got this error "parse_line: expect command, missing function name or calling undeclared function". Thanks for trying to help me though. Quote
Question
Reborn
Hi everyone can anyone help me make a script for this one?
Once the player wear this type of accessory it will give some additional stats to the homunculus
example:
Increases Homunculus STR and VIT by 15
Then once the player unequip the accessory it will remove the stats to the homunculus as well.
Thanks in advance
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.