• 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

Coding spellblights

Eretas

Well-known member
I have somes questions
1) Do you have a coding for the Unique ID, it seem to all begin with "P"
2) I am working on the SPellbright, most are easy, only text, but i try to put the bonus on ST to be show on the "*", as Shadow did in the Feat: Flagbearer.
It don't want to show up... Can you say me why? this is the file.:confused:
 

Attachments

Another question :
Can we activate a condition within a macro. With Eldritch Ague, the wizard become sick. So i set the minus 2 abilities and save in the adjustment, but I have to remove the availability to activate the sickness condition.
If not, the sickened condition will apply twice.

I don't know how to do it. :(

ÉDIT: I got it

~ If we're not sickned,
if (hero.tagis[Condition.pcnSicken] = 0) then
~ If we're enabled and have been activated externally,
if (field[pIsOn].value = 1) then
~ -2 Damage
hero.child[Damage].field[tDamBonus].value -= 2

~ -2 Attack
hero.child[Attack].field[Penalty].value -= 2

~ -2 to all saves
hero.child[svAll].field[Penalty].value -= 2

~ -2 Skill Checks
hero.child[AllSkills].field[Penalty].value -= 2

~ -2 to all Ability Checks.
foreach pick in hero from BaseAttr
#situational[each,"-2 on ability checks", field[thingname].text]
nexteach
endif
endif
This is the file.
 

Attachments

Last edited:
The "p" is an abbreviation for "in-Play adjustment" ("a" already meant Ability score and "i" already meant "magic Item".

It's useful to be able to glance at something and quickly see by the prefix what category it falls into - it makes tracking down errors quicker.
 
If a spell or ability just activates one of the conditions that's already present on the Condition tab (like sickened), it doesn't need its own adjustment - the user can simply activate the option that's already there on the condition tab.
 
Last edited:
In your script, you have a line of comments (the one starting with a ~) that then becomes a line of code. They need to be on two separate lines.
 
The "p" is an abbreviation for "in-Play adjustment" ("a" already meant Ability score and "i" already meant "magic Item".

It's useful to be able to glance at something and quickly see by the prefix what category it falls into - it makes tracking down errors quicker.

I will then change the prefix.

If a spell or ability just activates one of the conditions that's already present on the Condition tab (like sickened), it doesn't need its own adjustment - the user can simply activate the option that's already there on the condition tab.

It's too easy to forget to check on the condition tab and be "Sick" twice. I found how to do it, so now it's include.

In your script, you have a line of comments (the one starting with a ~) that then becomes a line of code. They need to be on two separate lines.
Can I say Damn...:D
 
This is the minor spellblights.

I will do the major one right away. And the list somewhere this week.
 

Attachments

Part 2
 

Attachments

That one is too touch for me.
This is what it should do
and what I did, but id did not work... (I was not surprised)

{b}Special power: {/b} A spellcaster suffering from nameless dread is particularly adept at wielding spells with the fear or chaos descriptor. When she casts a spell with that descriptor, the save DC for that spell is increased by 1, and she gains a +1 competence bonus on all caster levelchecks made to bypass Spell Resistance.


~ If we're not enabled, get out now
doneif (field[pIsOn].value <> 1)

~ Adjust the DC to all Spell with FEAR or CHAOS descriptor
foreach pick in hero from SplSchool where "!sDescript.? = [cdChaos] or [iigFear]
eachpick.field[schDC].value += 1
nexteach

~+1 competenceBonus to casterlevel check to ovecome SPell resistence
#competencebonus[pS2CL].value += 1
ENdif
 

Attachments

~+1 competenceBonus to casterlevel check to ovecome SPell resistence
#competencebonus[pS2CL].value += 1
ENdif
There currently is nothing in HL to track "CL" situational text. So you would just leave that alone. What you coded is to adjust my "Caster Level" adjustment using a half a macro and half code. It really wont work especially if someone does not have my addon it really wont work. :)

In the end just leave that as text for now.
 
But fot the first part, we can adjust the SPell DC, I did it for All spells, but I can't for Chaos end Fears descriptor only...:confused:


~ If we're not enabled, get out now
doneif (field[pIsOn].value <> 1)

~ Adjust the DC to all Spell with FEAR or CHAOS descriptor
foreach pick in hero from SplSchool where "!sDescript.? = [cdChaos] or [iigFear]
eachpick.field[schDC].value += 1
 
I did both of them, but the first one Nameless Dread can be improve by adding automatically a +1 to the DC to resist Spell with Fear and Chaos descriptor.

Spellblights Negate give a SR of 10 + twice the max spell level. It is enter manually.
Can't prog SR = 10+ 2* round down(Caserlevel/2)


Major Spellblights Nameless Dread
Major Spellblights Negated
 

Attachments

Eretas, you keep making notes about things you're unable to finish, like the SR.

I'd really appreciate it if you could finish these before turning them in. Ask for help on the parts you don't know. Having this donated work doesn't save me any time if I need to spend time figuring out what's finished and what's not finished, and complete them myself.
 
Thoses marked text only mean the abilitie is only textual. So the last two one are completed. I Asked Risner to completed the two uncomplete. I will post only finished one in the other treads.
 
Back
Top