![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
Quote:
The thingid for Spell Resistance is xSplRs. It may be automatically bootstrapped to all characters and activated with a script. This script would be on the race itself. Last edited by Sendric; October 27th, 2020 at 05:48 AM. |
|
![]() |
![]() |
Senior Member
Join Date: Feb 2013
Posts: 356
|
Quote:
|
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
Hey Sendric. I think that I'm done with the rework of dragons.The problem is I had to "copy" several existing files and change them. And change them to the point that they will need to be replaced. I'm talking like 26 files. How do you want me to handle those so that you know which is which and what needs to be done?
|
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
Quote:
Thanks. |
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
Quote:
I'll make a doc file that gives a break down and specifically which ones will probably need renamed. Thanks |
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
One last thing (I hope).
Let me set the scenario for you. I have Darkness that I bootstrap into [Insert Race Spell-Like Ability]. How do I add the following script into [Insert Race Spell-Like Ability] but make it control Darkness? I want Darkness to remain as generic as possible and do my race specific changes in [Insert Race Spell-Like Ability]. HTML Code:
var agecat as number agecat = hero.child[xAgeCat].field[Value].value var radius as number radius = hero.child[xAgeCat].field[Value].value * 10 if (agecat >= 10) then field[xSumm].text = "3/day, {i}darkness{/i} (" & radius & " ft rad)." elseif (agecat >= 8) then field[xSumm].text = "3/day, {i}darkness{/i} (" & radius & " ft rad)." elseif (agecat >= 4) then field[xSumm].text = "3/day, {i}darkness{/i} (" & radius & " ft rad)." else perform delete[Helper.ShowSpec] endif |
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 3,075
|
Quote:
![]() |
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
Ok I admit that I screwed up. What I posted last time was script that is actually no longer needed. It used to show up when you hovered over the "?" in the Special tab for the Spell-Like Abilities entry. What I was intending to do was add the calculated radius to the live name in the Spells - Spell-Like Abilities. So right now it shows "Darkness (3/day) (Sp)" and I wanted it to show "Darkness (XX feet) (3/day) (Sp)". I was going to ask what I needed to do because I had ran into a problem with it, but I figured it out. Now the actual radius shows with the spell name. Now I'm going to do the same thing with a couple others that have the same thing. Thanks again for the help.
|
![]() |
![]() |
Senior Member
Join Date: Dec 2013
Posts: 166
|
There is one last thing that I would love to be able to do that I think that I'm figuring out. Maybe let me know what you think first.
I plan to add the DC to the live name in the Spell-Like Abilities on the Spells tab. Example from a Black Dragon: Corrupt Water has a DC equal to the Frightful Presence DC. Currently I have it showing as "Corrupt Water (1/day) (Sp)". But I managed it get it to show as "Corrupt Water (DCXX) (1/day) (Sp)". With the Frightful Presence DC as it changes per age category showing. I managed to do very close to the same thing with the radius of Darkness but using the DC is a bit more complex. But I have it so far. At this point I think that I have it done for the Black Dragon I'm going to work on the rest now. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|