Jump to content
  • 0

Item Bonus Script: Hallucination on Atk/WhenHit


Nerfwood

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

Hi!

 

I would like to request an item bonus script that can cause Hallucination when attacking or being hit ( and also, if possible, when using offensive skills {and/or certain skills only}).

 

I would like to use it on my Marijuana Beret /oops  and other appropriate items lol. Ahh.. it would be so much fun. :)

bonus bHallucinate,<%chance>;
bonus bHallucinateWhenHit,<%chance>;
bonus bHallucinateOnSkill,<%chance>;
bonus2 bHallucinateOnSkill2,"<Skill ID/name>",<%chance>;
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

This should give you an idea on how to work on it..

 

autobonus "{ sc_start 52,30000,0,1000; }",1000,30000,0,"{ specialeffect2 EF_MAGICALATTHIT; }";
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

 

This should give you an idea on how to work on it..

autobonus "{ sc_start 52,30000,0,1000; }",1000,30000,0,"{ specialeffect2 EF_MAGICALATTHIT; }";

 

But doesn't autobonus only work for the invoking character?

 

 

 

In all cases, when the script triggers, the attached player will be the one

who holds the bonus. There is currently no way of knowing within this script  
who was the other character (the attacker in autobonus2, or the target in
autobonus and autobonus3).
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...