Jump to content
  • 0

Script request


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

- 5% chance to cast lv 10 lord of vermillion on the enemy (ID# 85) when dealing magical damage

pls help me

- 5% chance to cast Lv 5 Earthquake when attacking

bonus3 bAutoSpell,"NPC_EARTHQUAKE",5,50

got wrong??

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  155
  • Reputation:   2
  • Joined:  10/09/12
  • Last Seen:  


bonus5 bAutoSpell,"WZ_VERMILION",10,50,BF_MAGIC,0;  bonus3 bAutoSpell,"NPC_EARTHQUAKE",5,50

thats will do i think

Edited by Fai T.Flowright
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  


bonus5 bAutoSpell,"WZ_VERMILION",10,50,BF_MAGIC,0;  bonus3 bAutoSpell,"NPC_EARTHQUAKE",5,50

thats will do i think

what's the difference between with my 1st post?

Link to comment
Share on other sites


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

read this

trunk/doc/item_bonus.txt

bonus5 bAutoSpell,x,y,n,t,i;  n/10% chance to cast skill x of level y when attacking (supports skill names)
 t: Trigger criteria:
    BF_SHORT: Trigger on melee attack
    BF_LONG: Trigger on ranged attack
    ( Default: BF_SHORT+BF_LONG )

    BF_WEAPON: Trigger on weapon skills
    BF_MAGIC: Trigger on magic skills
    BF_MISC: Trigger on misc skills
    ( Default: BF_WEAPON )

    BF_NORMAL: Trigger on normal
    attacks.
    BF_SKILL: Trigger on skills
    (Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)

    i:
    0=cast on self
    1=cast on enemy, not on self
    2=use random skill lv in [1..y]
    3=1+2 (random lv on enemy)

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...