jogui1
Server developer
- Joined
- Feb 13, 2009
- Messages
- 108
- Reaction score
- 13
Hey, im new to programming and i have a question thats maybe a little bit stupid haha.
When i look at the lua and xml script i understand what the mean but...
The thing i dont understand is where the codes come from. i understand that combat_energydamage in a spell script wil make the damage energy related. But where do the script get the combat_energydamage code from? how does the script know it is energy based or looking the way its looking? Because its like a tibia based script. Insite another game that got spells that are scripted lua based it wont work ofcourse.
(also curries because i might want to go some deeper in programming and wondering how i could add like new damage types,effects ect. Or for diffrent things like talkactions or something.)
THANKS ALREDY
When i look at the lua and xml script i understand what the mean but...
The thing i dont understand is where the codes come from. i understand that combat_energydamage in a spell script wil make the damage energy related. But where do the script get the combat_energydamage code from? how does the script know it is energy based or looking the way its looking? Because its like a tibia based script. Insite another game that got spells that are scripted lua based it wont work ofcourse.
(also curries because i might want to go some deeper in programming and wondering how i could add like new damage types,effects ect. Or for diffrent things like talkactions or something.)
THANKS ALREDY