View Single Post
  #3  
Old 09-26-2010, 06:33 PM
TheOne TheOne is offline
Approved Member
 
Join Date: Sep 2010
Posts: 16
Default

OOTM has an updated spells.txt in orcs.kfs, so you will probably want to use that.

From: http://forum.1cpublishing.eu/showthread.php?t=11656

Quote:
Originally Posted by DGDobrev View Post

spells.txt
Here you can edit the damage, the crystal cost and such. Here's the armageddon spell:

spell_armageddon {
category=s
profit=5
price=60000
hide=0
image=book_spell_armageddon.png
button_image=book_scroll_armageddon.png
label=SN_armageddon
attack=scripted
school=3
hint=spell_armageddon_hint
hint_header=spell_armageddon_header

scripted {
script_attack=spell_armageddon_attack
script_calccells=
attack_cursor=magicstick
ad_factor=0 // use attack/defense
//nfeatures=magic_immunitet
}
params {
duration=0
typedmg=astral
damage=200-300
lvl_dmg=70 ->percentage that damage improves by level. Min damage is 200, 70% of it is 140, so lvl 2 min damage is 340, and lvl 3 min damage is 480.
prc=50,50,50 ->now some of these should be the damage that it does to allies... the good question is which one or it based on the level of the spell.
burn=30 ->basic chance to burn - improves by 30% per lvl
}
levels {
// level = mana_cost, crystals_cost to upgrade from previous level
1=30,15
2=40,25
3=50,35
}
}

spellsadventure.txt
Here you can mod the prices for the spells, so it's cheaper to buy them.
Reply With Quote