daurgothoth
Tavern Dweller
|
posted May 11, 2013 03:34 AM |
|
|
got little success in editing but need help
i wanna editing some dungeon units (sorry about my poor english)
but can't open game.orc in data 18 (data18 is shades of darkness
things) so just open Dungeon.dcs in data18 change(use texteditor)
like this
effect "HeartofDarknessEffect"
{
var IncreaseAmount: int;
var Modifier: modifier"ModifyStat";
event OnCreate
{
IncreaseAmount = 5;
Modifier.Init(EStat.Health, IncreaseAmount.ToFloat(), 200);
}
event GetTooltip
{
$percentage = DarknessBonus.AbsValue;
}
}
this is a skill of black dragon. it makes add a lot of health
(base+200%+5) to all unit with black dragon (battlefield only)
but i don't know how to add other stats in same time.
like mightdefense or movement .
if i put other stats to that command like this it makes error
effect "HeartofDarknessEffect"
{
var IncreaseAmount: int;
var Modifier: modifier"ModifyStat";
event OnCreate
{
IncreaseAmount = 5;
Modifier.Init(EStat.Health, IncreaseAmount.ToFloat(), 200);
IncreaseAmount = 5;
Modifier.Init(EStat.Movement,IncreaseAmount.ToFloat(), 200);
}
event GetTooltip
{
$percentage = DarknessBonus.AbsValue;
}
}
so i can add only one option. would you anyone help me to change this
command?
____________
|
|