| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Dec 27 2005, 07:00 PM
Post
#1
|
|
![]() Mod Developer Posts: 210 Joined: 3-December 05 |
Hello,
Is it possible to properly use the innate abilities of a npc (out of the party of course). I have a level 8 berserker with 2 enrages in innate slot. I have that block in my script: IF !GlobalTimerNotExpired("ja#cast","LOCALS") !GlobalTimerNotExpired("ja#berserkerrage","LOCALS") THEN RESPONSE #100 SetGlobalTimer("ja#cast","LOCALS",6) DisplayString(Myself,84763) // Contingency Released SetGlobalTimer("ja#berserkerrage","LOCALS",120) Spell(Myself,BERSERKER_RAGE) END (String only for debug and test) the block is executed, but the rage doesn't occur (neither was my condition HaveSPell(BERSERKER_RAGE)) It seems that innates can't be manipulate like spells. I can only use it with forcespell, but then, I can't count spells (uness I use some variables and level tests) |
|
|
|
![]() |
Dec 29 2005, 07:35 AM
Post
#2
|
|
![]() Mod Developer Posts: 210 Joined: 3-December 05 |
QUOTE(Galactygon @ Dec 28 2005, 11:14 PM) There might be 2 problems with your script: 1.) Is the spell level of your innate set to 1? Innate abilities don't work unless their levels are set to 1 or 0. Since you are using an existing spell, I don't think this is the problem. 2.) You have to have the spell/innate "memorized" in order for the actions Spell() or SpellRES() to work. You could alternatively use SpellNoDec() or SpellNoDecRES() instead, which don't require you to have the spell/innate "memorized". Check the IESDP for more information. I am guessing this one is your problem, since when giving out kits to NPCs, you have to manually apply give any abilities/immunities to your NPC. -Galactygon So that's it: I have to manually apply immunities and abilities. I will try this so Thanks for help |
|
|
|
aigleborgne Innate abilities Dec 27 2005, 07:00 PM
Vlasák Hmm, that's quite strange - innates should be ... Dec 27 2005, 07:21 PM
aigleborgne This is how I did my tests:
I edit a level 7 figh... Dec 27 2005, 08:06 PM
Vlasák And can you cast rage with your f/c manually?
Sil... Dec 28 2005, 08:10 AM
aigleborgne I've tried SpellRes , but it doesn't work ... Dec 28 2005, 10:33 PM
Galactygon There might be 2 problems with your script:
1.) I... Dec 28 2005, 11:14 PM
Galactygon Note that once an NPC joins the party, (s)he is gi... Jan 1 2006, 06:54 PM
aigleborgne Yes, there will get them twice, but I do it for no... Jan 2 2006, 09:13 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd April 2026 - 12:32 AM |