Near Infinity - New Weapon procs 4 times each effect
BG_Sable
Member Posts: 8
Hello ,
I never modded anything with Infinty Engine so i tried to have some fun with a weapon , so far everything works properly except every single effect procs 4 times instead of 1 ? !
As you can see in the quoted part in bold i want my character to suffer from Level Drain and other fun stuff when doing a Critical Miss except my character cast 4 of each effect instead of once just like the rest of the effects ( 1 critical miss = 16 levels drained instead of 4 ) .
Here is the part about the Critical Miss in the Engine :
If someone with experience on that stuff could help me , i have no idea what i messed up here .
I never modded anything with Infinty Engine so i tried to have some fun with a weapon , so far everything works properly except every single effect procs 4 times instead of 1 ? !
The Black Razor
In his quest of claiming the throne of his dead father, the Son of Bhaal discovered this wicked sword hidden deep inside the remnants of his father's Realm. And the first to fall against this mighty weapon, was no other than Joneleth Irenicus.
When it comes to understand how good it is at killing, do not be fooled by the dull steel as it is not a weapon made to cut a Dragon in two; Black Razor is a fully sentient monstrosity, gifted with a malicious thirst for souls : those close enough from it will hear the laments of thousands upon thousands of souls trapped in this dark blade. And witnessing it in battle is a vision of madness : opponents are powerless to stop or control Black Razor's wielder, powerful heroes and monsters get turned into dust, and the souls trapped in the dark blade will assault both sides in this chaotic battle. If anything the best plan to survive such horror is to hope that Black Razor itself will slay her "master" out of this uncontrollable thirst for souls that artefact was cursed with.
Those who have studied the history of this abomination are clueless about its origins. Was it created by Bhaal before the Times of Trouble ? Or by Cyric as a remplacement for the legendary Godsbane ? Would Mask again attempt the same exact trick he already did against Cyric ? Or could it be an artefact from an older Deity of Death such as Jergal ? We will probably never know. But there is no question about its purpose : Murder ! And to those arrogant enough to underestimate the danger of this tool of Death, or believe themselves strong enough to control it : run away fools !
Equipped abilities:
– Black Razor mental influence on the wielder make him immune to any other attempt to control or subdue his mind
Combat abilities:
– Regenerate 2 HP on hit.
– Passive Deathblow. Black Razor will slain any target of 10th level or lower.
– Chance on hit (30%) to inflict on the target a permanent Level Drain (2 lvl).
– Backstab attempt gets a +2 bonus (for example a Backstab multiplier of 5 will become 7).
– Upon killing a creature, the wielder become Invisible for 18 seconds (regular version).
– Increase Critical Hit Chance by 1, cast Power Word Kill upon a Critical Hit while the owner benefits from a Restoration (lesser version).
– Increase Critical Miss Chance by 1, cast Sould Eater against the wielder upon each Critical Miss while the owner suffer from a permanent and unblockable Level Drain (4 lvl) and is also Doomed and Cursed (for 66 seconds).
Soul Eater (Necromancy)
This spell deals 3d8 magic damage to all living creatures within a 14-ft. radius. Any creatures that die as a result of this damage are obliterated, and their essence is transformed into a 3-Hit-Dice skeleton under control of the caster. Also, for each creature that dies in this manner, the caster receives a +1 bonus to Strength, Dexterity, and Constitution for 1 turn. Soul Eater has no effect on undead, constructs, and elemental creatures.
Black Razor benefit from a Enchantment of +6 when it comes to determining if you can harm your opponent with it, regardless of the modifiers below.
THAC0: +3
Damage: 1d6+3 (slashing or piercing, depending on what is better)
Speed Factor: 6
Proficiency Type: Long Sword
Type: One-handed
Weight: 4
Requires:
6 Strength
As you can see in the quoted part in bold i want my character to suffer from Level Drain and other fun stuff when doing a Critical Miss except my character cast 4 of each effect instead of once just like the rest of the effects ( 1 critical miss = 16 levels drained instead of 4 ) .
Here is the part about the Critical Miss in the Engine :
If someone with experience on that stuff could help me , i have no idea what i messed up here .
0
Comments
* Cast spell on condition
* Critical miss bonus
* Cast spell on critical miss
* Critical hit bonus
* Critical hit effect
should be included in the global effects list of the item instead of the ability header, and they should have the "while equipped" timing mode.
Also, what is that "apply effects list" effect doing there? Is that to trigger Deathblow? If so, the target should be "Preset target" rather than "Self".
I reckon i experimented on my own with this without reading a guide so it took me several hours to have something that did not crashed the game ( my first attempt did ) .
Looking back i think the fact i have 4 lines for " Cast Spell on Critical Miss " is the reason the four different effects are casted four times each . Concerning what you asked this is indeed Deathblow , the different lines are :
0 = Level Drain ( Chance per hit )
1 = Deathblow ( Permanent )
2 = Leach Health on hit
3 = Leach Health on hit ( Visual )
4 = Invisibility on Kill
5 = +1 Critical Miss Chance
6 = Soul Eater on Self on a Critical Miss
7 = Two Level Drain on Self on a Critical Miss
8 = Two Level Drain on Self on a Critical Miss ( 4 in total )
9 = Doom on Self on a Critical Miss
10 = +1 Critical Hit Chance
11 = Power Word Kill on Critical Hit
12 = Lesser Restoration on Self on Critical Hit
I am looking right now at what you said , it will probably fix this problem . Thanks .
But the modification of Deathblow from Self to Preset Target buff the opponent not me ( same with Power Word Kill and Lesser Restoration ) . Do i need to move " Apply Effect : Deathblow " from Ability to Effect as well ?