The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Innate abilities
aigleborgne
post Dec 27 2005, 07:00 PM
Post #1



Group Icon

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)
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Vlasák
post Dec 27 2005, 07:21 PM
Post #2


Mathematical poet


Retired team member
Posts: 159
Joined: 9-July 04
From: Prague, Czech Republic




Hmm, that's quite strange - innates should be handled via Spell action without problems.

Is the spell assigned to your character really that one which is mapped to BERSERKER_RAGE in spell.ids? Isn't it a spell created by you and renamed to something else?

Just curiosity idea - misplacing with BARBARIAN_RAGE isn't possible? wink.gif

Forcespell casts the spell even though the character hasn't it memorized so the fact the the casting is working via forcespell tells about our problem almost nothing.


--------------------
Baldur's Gate II add-on CZ - TC from Dalelands
http://addoncz.gamestar.cz

English forums are opened!
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 06:23 PM