well this is my second time writing this so i might have left something out.so more then likely i'll be editing this afew times.well i have afew spell related problems and hopefully you guys can help.hopefully this time my post doesn't mysteriously get erased.
1.i can make a spell such as storm bolt do damage depending on a units stats.
the problem is that when i do it only works half the time can any1 explain why that happens?
2.when i make a spell described in quesiton 1 when i use storm bolt on an enemy unit the enemy unit takes damage before they even get hit by the storm bolt. does any1 know a way to fix this?
3.i tried recreating vexorians hammer spell by creating a dummy unit and having it cast thunderclap at target location.but the problem is that there is no ground smash animation, aslo the same problem as question two the thunderclap would happen before the target gets damaged. how can i fix this?
4.when i make a spell such as thunder clap do damage based on stat... i use unit-damage area it also damages allied units and caster itself, how can i fix it so it only damages enemy units?
5.i want to make an rpg type map and everyone knows that all rpgs have more then 3 stats... so i tried to make my own stats using triggers.. i made a variable for the stat being "hack" whenever you buy a "hack" upgrade the value goes up. for some reason i can't get a spell to do damage based on this stat,unless i upgrade "hack" to like 99999 but it only works once in a while just like question 1.how can i fix this and is this stat system even possible?
6.if i upgrade the stat "hack" like 70 times the game starts to lag really hardcore.like you can't eve move, everything is in slow motion. does any1 know how to fix this?
7.i would also like to create a stat called "dex"."dex" will be the units accuracy.when a unit attacks or casts a spell i woud an equation something like this (attacking unit "dex"- enemy agility = chance to hit) so 100 dex - 50 agility = 50% chance to hit, or maybe something a bit more complex but you get the point. does any1 know how i can do this cause have no clue?
8.also i want to create a stat thats called "magic resistance" this stat increases magic regen,reduces casting time for spells and decreases spell damage taken. i know how to do all of this but is there an easier way to reduce cast time with triggers without having to create like 99999999999999999 of the same spell. also is there a way to get spell damage to decrease by a number instead of %.
well thanks for the help hopefully you guys can help me with this
1.i can make a spell such as storm bolt do damage depending on a units stats.
the problem is that when i do it only works half the time can any1 explain why that happens?
2.when i make a spell described in quesiton 1 when i use storm bolt on an enemy unit the enemy unit takes damage before they even get hit by the storm bolt. does any1 know a way to fix this?
3.i tried recreating vexorians hammer spell by creating a dummy unit and having it cast thunderclap at target location.but the problem is that there is no ground smash animation, aslo the same problem as question two the thunderclap would happen before the target gets damaged. how can i fix this?
4.when i make a spell such as thunder clap do damage based on stat... i use unit-damage area it also damages allied units and caster itself, how can i fix it so it only damages enemy units?
5.i want to make an rpg type map and everyone knows that all rpgs have more then 3 stats... so i tried to make my own stats using triggers.. i made a variable for the stat being "hack" whenever you buy a "hack" upgrade the value goes up. for some reason i can't get a spell to do damage based on this stat,unless i upgrade "hack" to like 99999 but it only works once in a while just like question 1.how can i fix this and is this stat system even possible?
6.if i upgrade the stat "hack" like 70 times the game starts to lag really hardcore.like you can't eve move, everything is in slow motion. does any1 know how to fix this?
7.i would also like to create a stat called "dex"."dex" will be the units accuracy.when a unit attacks or casts a spell i woud an equation something like this (attacking unit "dex"- enemy agility = chance to hit) so 100 dex - 50 agility = 50% chance to hit, or maybe something a bit more complex but you get the point. does any1 know how i can do this cause have no clue?
8.also i want to create a stat thats called "magic resistance" this stat increases magic regen,reduces casting time for spells and decreases spell damage taken. i know how to do all of this but is there an easier way to reduce cast time with triggers without having to create like 99999999999999999 of the same spell. also is there a way to get spell damage to decrease by a number instead of %.
well thanks for the help hopefully you guys can help me with this