11 lines
443 B
Plaintext
11 lines
443 B
Plaintext
|
// rts_it_mag45 - water walk ability
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetItemActivator();
|
||
|
effect eVis=EffectVisualEffect(VFX_DUR_IOUNSTONE);
|
||
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eVis,oPC,HoursToSeconds(1));
|
||
|
SetLocalInt(oPC,"nWaterWalk",TRUE);
|
||
|
DelayCommand(HoursToSeconds(1),DeleteLocalInt(oPC,"nWaterWalk"));
|
||
|
SendMessageToPC(oPC,"You now have the water walk ability for the next hour which provides a +25 to swim checks.");
|
||
|
}
|