Success, well kinda, I got the game to recognise my new spell, but it doesn't deal the damage that I wanted it to, I thought I knew how to adjust the damage a spell deals but looks like I was wrong, so any one know?
what function are you using in your script to do the damage? Actually scratch that. Can you post a copy of your script for me to look at? That would make it easier I think because then I could see what you are doing. There are a number of ways of doing damage with a spell from what I can see by scanning over the various scripts. If I can see how you are trying to do it, maybe I can help you. Darmagon
its that high so I can see if its actually changing, its just a copy of magic missile From "Spell569 - Cujos Magic Missile.py"
okay then you are using it with Code: condition_add_with_args("sp-Magic Missile" ...damage_dice.roll()) the code you are using should give you damage between 11 and 61. what is the damage you want to get? Darmagon
to get damage between 11 and 61 would be fine and dandy just now, but in my tests i'm getting 2, 3, 4 or 5 which says to me that its still running on 1d4 + 1
in place of the condition_add_with_args call put this instead Code: target.obj.spell_damage( spell.caster, D20DT_FORCE, damage_dice, D20DAP_UNSPECIFIED, D20A_CAST_SPELL, spell.id ) That should give you the correct damage. It seems magic missile has hard-coded damage. Darmagon
Thanks so much, it works. Can I make it so NPCs and PCs can't use it as a spell so the only way to use it is use magic item?
not sure about that. in mes\spell.mes some of the spells have a designation INTERNAL. That might be what you want. Not sure though. Anyway gotta get ready for work....Glad I could help. Darmagon
Nah its not but I figured it out, thanks to you I now have a gun that deals 5d12+1 damage per shot (out of 5) or pistol whip at 1d3.
A gun??? wouldn't it be better to use a ranged touch attack to simulate the fact that armour is useless against bullets?
A gun? He made lightning come from a tube without the use of magic? Witch! He's a witch! BUUURN HIM!!! Quick, someone get a duck and some scales! Hurry, hurry, before they notice the hypocracy!!
Kuraylon - did you see i added some sounds for your disintegrate spell in the other thread? It's coming along nicely, just an eyecandy suggestion - when the target disapears could you add the anim for stoneskin, to give the impression that the target got instantly turned into powder?
yes I did see the fact that you added some sounds for my disintegrate spell. Thanks, good work. i will work them in as soon as I get a chance. I will also look into adding the stoneskin particles. Thanks for the suggestion. Darmagon