sestorme
Member
Okay, some time ago I made my own spellbook system with quite a few nice spells, like a custom fireball spell which is launched to the desired location, but explodes on the first valid target. My old hdd decided to follow it's own path that lead it to the drawer as it's likely not to ever work again and I had a break from coding and/or scripting for a while.
Tibia Ots Spellbook system - Sorcerer presentation - YouTube
Look at the spell 4:18+. Fireball is launched to the location but instead of going there it explodes on the first valid target. Believe it or not, I've forgot how I made it. It definitely checks checks quite a few squares between location of caster and location of target and divides it by 6 or 7. Anyone want to give it a go and remake it?
Tibia Ots Spellbook system - Sorcerer presentation - YouTube
Look at the spell 4:18+. Fireball is launched to the location but instead of going there it explodes on the first valid target. Believe it or not, I've forgot how I made it. It definitely checks checks quite a few squares between location of caster and location of target and divides it by 6 or 7. Anyone want to give it a go and remake it?