• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Totem droppings...new Class Feature musings

Enforcer84

Well-known member
I'm looking at creating a Shaman Class, (Yes, I know, WoW mark) and one of the class features is the ability to drop totems that give bonuses and other powers.

I originally created these as Custom Abilites (primary, Secondary, tertiary, and quadrary) and then the shaman would choose totems from a list for each category (one each of earth, fire, air, water). So far so good. Looks good on the sheet.

I do have a question though, the totems all have a time limit, (ie 1 round + 1 round/class level, for example) and I'm unsure how to set that in the editor. Any ideas?
 
Custom Abilities hold the level they are attached to on a field called "xTotalLev". So assuming you set the "Tracked Resources" total charges to 1 you could use the following script:

Code:
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ Increase the tracker by amount equal to character level
field[trkMax].value += field[xTotalLev].value
 
ShadowChemosh - the xAllLev field is preferable to the xTotalLev field when working in a class special.

That way, when you have a Druid/Ranger, Wild Empathy's effectiveness is based on the total of all levels of the classes that grant that ability, not just the level of one of those classes.
 
Alright I'm slowly pulling this bad boy together:

Here's what I want to Achieve for my 'Stone Skin' Totem:
Duration: 1/combat for 1 round +1/Shaman Level
Bonus: +1 Natural AC Bonus per totem Dropped

Shaman can have a maximum of 4 totems at anyone time. They are Primary, secondary, tertiary and quadrary class abilities.

I have it set for the 1/combat - but the script doesn't seem to be putting my duration on...not sure where it goes to tell the truth. And I'm at a nigh-complete loss on the AC Bonus...


Edit: Ok...now my eval script works. it gave me the appropriate number of rounds per combat. Going to see if I can put a string in there so it says, 'Rounds' but that's cool.
 
Last edited:
Edit: Ok...now my eval script works. it gave me the appropriate number of rounds per combat. Going to see if I can put a string in there so it says, 'Rounds' but that's cool.
No need. This is already built into HL. Just pick it from drop down in the "Tracked Resources Section".
 

Attachments

  • Noname3.jpg
    Noname3.jpg
    8.3 KB · Views: 5
Aaaand another question.

Looking to create a script that increases an race ability at higher levels

ability grants Fast healing 1 for number of rounds/day = to character level
at level 8 ability goes to Fast Healing 2
At level 17 it goes to Fast Healing 3

the above script does the rounds per day awesomely. For the bump in healing...I'm looking at the energy resistance class ability:

if (field[xIndex].value >= 3) then
field[listname].text = "Fast Healing 3"
elseif (field[xIndex].value >=2 ) then
field[listname].text = "Fast Healing 2"
else
field[listname].text = "Fast Healing 1"
endif

so I'd take the power 3 times...but...this is a race ability rather than a class ability. So is there a better place to look for something like this?
 
Back
Top