• 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

Psychic Rogue - Sneak attack ability

Guiche007

Active member
Hi everyone,

I'm trying to create the Psychic Rogue class with the editor but i have two problems.

The first one is the sneak attack ability. I clone it from the rogue ability and made some change but it don't work because it continue to work like the rogue classe. The incrementation is not working. How can i solve the problem?

The second one is the Danger sense Psionic ability. I don't know how to create this ability.

Thanks
 
Ok. So its basically Uncanny Dodge. Do you have the community set? If so, can you think of any classes found there that might have Uncanny Dodge or Sneak Attack? If you can find another class that uses these, then you can look at the files and see how they were implemented. I'm not in front of HL at the moment, but the next time I am, I can look through the set and see if I can find a good example for you to use.
 
Hi Sendric,

I would like it if you can but danger sense is linked with the psionic focus ability. If psionic focus is expended it loss all the benefit. I have no idea how to do it.
 
Hi Sendric,

I would like it if you can but danger sense is linked with the psionic focus ability. If psionic focus is expended it loss all the benefit. I have no idea how to do it.

In the community set, I added a condition for psionic focus. You can use a script to determine whether or not its checked before applying the effects of the ability. It's probably sourced to d20 psionics support. Since Uncanny Dodge doesn't really change any settings, what you can do is look for whether psionic focus is off, and if so, delete the tag [Helper.ShowSpec]. If you need help with the specific code, I'll take a look later when I am in front of HL.

PS Come to think of it, I believe there may be some feats in the 3.5 - Complete Psionics.user file that do exactly this. You might want to take a look through them.
 
HI Everyone,

I need some help. Like i said i'm a newby and i'm trying hard to understand how Hero Labs works. Presently the problem that i have is with the sneak attack total level. My eval script is working well but it count all the class level my PC have, like 2lvl in swordsage and 6lvl in Psychic rogue. How can i solve the problem?

Thanks.
 
HI Everyone,

I need some help. Like i said i'm a newby and i'm trying hard to understand how Hero Labs works. Presently the problem that i have is with the sneak attack total level. My eval script is working well but it count all the class level my PC have, like 2lvl in swordsage and 6lvl in Psychic rogue. How can i solve the problem?

Thanks.

Please post the script that you are using, and describe exactly what you want it to do.
 
Here's the script:

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

var sneak as number
if (field[xTotalLev].value < 4) then
sneak = 1
elseif (field[xTotalLev].value < 7) then
sneak = 2
elseif (field[xTotalLev].value < 10) then
sneak = 3
elseif (field[xTotalLev].value < 13) then
sneak = 4
elseif (field[xTotalLev].value < 16) then
sneak = 5
elseif (field[xTotalLev].value < 19) then
sneak = 6
else
sneak = 7
endif

hero.child[xSneakAtt].field[Value].value = hero.child[xSneakAtt].field[Value].value + sneak

field[livename].text = "Sneak Attack +" & sneak & "d6"
field[CustDesc].text = "+" & sneak & "d6 to your Sneak Attack damage."

The problem that i have is that it's not only calculating the lvl of the Psychic Rogue classe but all of them. My caractere is lvl 8 (2 swordsage and 6 Psychic Rogue) normally it should count only the 6 lvl in psychic rogue for the sneak ability but it count the swordsage too.

Thanks in advance
 
Here's the script:



The problem that i have is that it's not only calculating the lvl of the Psychic Rogue classe but all of them. My caractere is lvl 8 (2 swordsage and 6 Psychic Rogue) normally it should count only the 6 lvl in psychic rogue for the sneak ability but it count the swordsage too.

Thanks in advance

Ok, where is this script? I assume this is being run on a class special for the Psychic Rogue? If that's the case, then your script should make the variable sneak equal to 2. To verify that you can add to the bottom of your script the following:

Code:
debug sneak

Recompile. Then in the portfolio go to Develop -> Floating Info Windows -> Show Debug Output.

If the debug window shows 2 then xTotalLev is correct, and something else is increasing your Sneak Attack damage. If it shows 3 then we need to figure out why xTotalLev is 2 higher than it should be. Unfortunately, I would need to see more either way. Perhaps you could post your .user file (or send it to me at my google mail account - sendric) and portfolio.
 
Hi Sendric,

My bad!! You were right I've found the problem. My swordsage class has the Assassin stand activated. It was giving a addition of 2 dice for the sneak attack.

It's working pretty well presently

Sorry
 
Back
Top