View Single Post
TobyFox2002
Senior Member
 
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632

Old May 4th, 2014, 03:39 AM
I have a template that I am working on that adds a slam to the character with damage based on the size of the base creature.

I've tried most of the night to get the script to apply, and while it does seem to be applying it internally it doesn't display the proper damage on the weapons tab.

I've tried every timing ranging from First/500 all the way to Final/50000
Code:
      if (hero.tagis[Size.Diminutive] <> 0) then
        perform hero.child[wSlam].assign[wMain.1_1]
        endif
      if (hero.tagis[Size.Diminutive] <> 0) then
        perform hero.child[wSlam].assign[wMain.1d2_2]
        endif
      if (hero.tagis[Size.Tiny] <> 0) then
        perform hero.child[wSlam].assign[wMain.1d3_3]
        endif
      if (hero.tagis[Size.Small] <> 0) then
        perform hero.child[wSlam].assign[wMain.1d4_4]
        endif
      if (hero.tagis[Size.Medium] <> 0) then
        perform hero.child[wSlam].assign[wMain.1d6_5]
        endif
      if (hero.tagis[Size.Large] <> 0) then
        perform hero.child[wSlam].delete[wMain.?]
        perform hero.child[wSlam].assign[wMain.1d8_6]
        endif
      if (hero.tagis[Size.Huge] <> 0) then
        perform hero.child[wSlam].assign[wMain.2d6_104]
        endif
      if (hero.tagis[Size.Gargantuan] <> 0) then
        perform hero.child[wSlam].assign[wMain.2d8_204]
        endif
      if (hero.tagis[Size.Colossal] <> 0) then
        perform hero.child[wSlam].assign[wMain.4d6_106]
      endif
TobyFox2002 is offline   #1 Reply With Quote