Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 6 - The New Beginning > Thread: got little success in editing but need help
Thread: got little success in editing but need help
daurgothoth
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?


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0194 seconds