Jump to content
  • 0

Homunculus Stats


Reborn

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

Helllo

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

Bumping to this topic

Link to comment
Share on other sites

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.

×
×
  • Create New...