whitevo
Feeling good, thats what I do.
Soon i get back home, but already trying to find examples how make custom spells for my server. But i cant find any thread what has guide / example how to add new spell effects into game.
For example i want to add spell; gives 50% physical protection for next physical hit you take.
I know that i can modify protection value in vocation with Lua scripts, but i dont know how could i remove the protection value when being hit with specific damage
Thats why my though went to source code alteration.
It would be dope if someone shows the code for this effect to happen, but showing me how to register new spell and what files i have to change is a start.
Full details about the spell:
Ingame command: !Rocksolid
Your character gets 5sec buff (new Sprite? In the ongoing effect area, im talking about the area what shows, what field spells are affecting you)
Character takes 50% less damage from next physical hit (if target would do double physical attack it would only protect the first hit of double attack)
Spell goes on exhaust on 5 sec cast.
Spell does not share cooldown with anything else
Spell looses effect only when 5sec passes after cast or player takes physical damage.
Some items icrease/decrease the %Value
Extraction
Extra info, im using tfs 1.0
For example i want to add spell; gives 50% physical protection for next physical hit you take.
I know that i can modify protection value in vocation with Lua scripts, but i dont know how could i remove the protection value when being hit with specific damage
Thats why my though went to source code alteration.
It would be dope if someone shows the code for this effect to happen, but showing me how to register new spell and what files i have to change is a start.
Full details about the spell:
Ingame command: !Rocksolid
Your character gets 5sec buff (new Sprite? In the ongoing effect area, im talking about the area what shows, what field spells are affecting you)
Character takes 50% less damage from next physical hit (if target would do double physical attack it would only protect the first hit of double attack)
Spell goes on exhaust on 5 sec cast.
Spell does not share cooldown with anything else
Spell looses effect only when 5sec passes after cast or player takes physical damage.
Some items icrease/decrease the %Value
Extraction
Extra info, im using tfs 1.0