Jump to content
  • 0

Homunculus Stats


Question

Posted

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

  • 0
Posted (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 by Emistry
  • 0
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...