Page 1 of 1
Item scripting Orbs
Posted: Mon Feb 25, 2013 6:26 am
by LocalFire
So I want to create a full set of magical orbs, one for each element. Fire is pretty much done so I can cloneObject Zhanduls orb and tweak its stats, Same with shamans staff for earth (I just changed it into an orb)
But the problem is getting a elemental boost for Ice and Air magic (like intense fire or Earthbound effects on the afore mentioned items).
So my question is how would I add an effect that boosts Air/Ice magic power?
Re: Item scripting Orbs
Posted: Mon Feb 25, 2013 11:35 am
by Drakkan
you can use orb of radiance (magic_orb) to clone for image. As for the game effect I tried rewrite gameEffect script and game taked it, questions is, if it is really working : ) YOu can try it... if not working I suppose there are no options as it is hardcoded.
cloneObject{
name = "air_orb",
baseObject = "magic_orb",
uiName = "Air Orb",
willpower = 5,
energy = 20,
description = "shocking !!!",
skill = "spellcraft",
requiredLevel = 15,
gameEffect = "Intense Shock (Lightning Bolt and Shock spells deal more damage)",
}
cloneObject{
name = "ice_orb",
baseObject = "magic_orb",
uiName = "Ice Orb",
willpower = 4,
energy = 15,
description = "icing !!!",
skill = "spellcraft",
requiredLevel = 10,
gameEffect = "Intense Ice (Ice Shards and Frostbolt spells deal more damage)",
}
Re: Item scripting Orbs
Posted: Mon Feb 25, 2013 12:05 pm
by LocalFire
Cool thanks
Re: Item scripting Orbs
Posted: Mon Feb 25, 2013 3:18 pm
by Neikun
Yeah you're going to need to make use of some onEquip hooks to actually get that game effect to happen.
Re: Item scripting Orbs
Posted: Tue Feb 26, 2013 2:04 am
by LocalFire
Ok how do I do that? I suck at code