![]() |
Maybe someone can help me. I'm trying to get my head around the spell editor (simple healing and damage spells are ok). I am having trouble with more tricky spells - probably because I don't know the parameter names. This is what I'm trying to do and anyone's suggestions would be good.
Normally, you gain 1 hitpoint per day from resting. The spell, when cast upon a character, would allow that character to regain 1 hitpoint per hour when resting. Alternatively (probably better though I suspect more complicated), one hit point per level of the caster per day. If anyone can suggest how to achieve this, it would be greatly appreciated. |
More problems with the spell editor:
1) I copied the example "conditional activation script" from the help file. It didn't work. I'm not a programmer and can't work out why. What I want to do is activate a different script if the level of the caster is even than if it is odd (the ultimate aim is to create a magic missile spell which requires 2-5 hitpoints damage per two levels of the caster - I'm pretty close if I could just get the activation script to work). 2) I want to do 1d4+1 damage per level of the caster. Can this be done? Is it possible to do 1d4*level - I can't get it to work. 3) When I type 1d4+1+1*level, it is automatically changed to 1d4+1+1+level*1 (ie 1d4+2+1*level). Is it a bug? It seems to be adding an extra "1". Sorry for my lack of programming knowledge... These are probably pretty basic questions. Thanks for any help. |
Quote:
Quote:
$IF ( $Class($Target()) == "Fighter" ) { $RETURN true; } $ELSE { $RETURN false; }; Quote:
Quote:
The parser for the DicePlus expressions is a little picky and not as flexible as I would like. Generally, when using labels such as 'level', use level*3 instead of 3*level. I'll spend some time this week trying to improve things with DicePlus. |
CocoaSpud are you saying I have to be a C++ programmar before I can even use the spell editor?? @_@
|
Richard,
To be able to use brackets in the diceplus expressions would be a great help. It really is essential as even the most basic spells use more complicated diceplus like "1d4+1 per two levels of the caster" - notably magic missile. Thanks for all your work on this. Cheers for your help with the "help" bit. |
All times are GMT -4. The time now is 01:09 AM. |
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved