So you patch adds Nom compatibililty? Does it do anything else?
IIRC, it indents/corrects some script syntax glitches, nothing essential probably, more relevant changes are commented as "fixed" in script code,
; fixed Cast, player, "wi_cranium_doom"; fixed?; fixed already defined short rangespell ; fixed? endif ; fixed? endif ; fixed endif; fixed endif ; fixed nasty space player-> PositionCell 231220.000, -100088.00, 36.078, 1, "Wizard's Secret Island"; fixed if ( player->GetDistance < 512 )
I.E from
Begin Cranium_rats;Multiplier - globalfloat oldmultipliershort stateshort dooncefloat demidamagefloat currenthealthfloat healthmodshort randomvalueshort dodemishort dolightlong intrandomlong intelfloat magickaresistSet magickaresist to ( magickaresist + player->GetResistMagicka )Set magickaresist to ( magickaresist + 15 )Set magickaresist to ( magickaresist / 25 )Set intel to ( intel + Player->GetIntelligence )Set intrandom to ( intrandom + Random, 150 )Set randomvalue to ( randomvalue + Random, 15 )Set healthmod to ( player->GetHealthGetRatio )Set currenthealth to ( player->GetHealth )Set currenthealth to ( currenthealth * healthmod )Set demidamage to 0Set demidamage to ( demidamage - currenthealth )Set demidamage to ( demidamage / 2 )Set demidamage to ( demidamage / magickaresist ); in your version rats will have unlimited Magicka, I assume you rather want something like this:if ( oldmultiplier != craniummultiplier )set oldmultiplier to ( ( craniummultiplier - oldmultiplier ) * 20 )set oldmultiplier to ( oldmultiplier - 10 )if ( oldmultiplier > 174 )set oldmultiplier to 174endif( ModCurrentMagicka, oldmultiplier )set oldmultiplier to craniummultiplierendif;This will increase the Magicka supply each time a new rat comes in range and ;decrease if a rat leaves the areaif ( craniummultiplier < 3 )if ( GetDistance, player < 300 )AddSpell "wi_rat_fear"endifendifif ( craniummultiplier > 2 )RemoveSpell "wi_rat_fear"endifif ( GetDistance, player > 310 )RemoveSpell "wi_rat_fear"endifif ( craniummultiplier > 1 )AddSpell, "wi_cranium_svck"if ( craniummultiplier < 5 )RemoveSpell, "wi_cranium_polyelemental"AddSpell, "wi_cranium_resist1"RemoveSpell, "wi_cranium_resist2"RemoveSpell, "wi_cranium_resist3"RemoveSpell, "wi_cranium_resist4"endifendifif ( craniummultiplier > 4 )AddSpell, "wi_cranium_polyelemental"if ( craniummultiplier < 10 )AddSpell, "wi_cranium_resist2"RemoveSpell, "wi_cranium_lethal"RemoveSpell, "wi_cranium_resist1"RemoveSpell, "wi_cranium_resist3"RemoveSpell, "wi_cranium_resist4"endifendifif ( craniummultiplier < 13 )RemoveSpell, "wi_cranium_radiant"endifif ( craniummultiplier > 9 )AddSpell, "wi_cranium_lethal"if ( craniummultiplier < 16 )AddSpell, "wi_cranium_resist3"RemoveSpell, "wi_cranium_resist1"RemoveSpell, "wi_cranium_resist2"RemoveSpell, "wi_cranium_resist4"RemoveSpell, "wi_cranium_devastate"RemoveSpell, "wi_cranium_resist2"endifendifif ( craniummultiplier > 12 )AddSpell, "wi_cranium_radiant" if ( randomvalue =http://forums.bethsoft.com/index.php?/topic/1018466-list-wizard-island-support/= 11 )if ( dodemi == 0 )player->ModCurrentHealth, demidamageCast, RatDemi, Playerset dodemi to 1endifendifendifif ( craniummultiplier > 15 )if ( dolight == 0 )if ( randomvalue > 13 )if ( Player->GetSpellEffects, "wi_ratlight" == 0 )Cast, wi_ratlight, Playerset dolight to 1endifendifendifif ( randomvalue == 4 )if ( intrandom > intel )Cast, player, "wi_cranium_doom"endifendifAddSpell, "wi_cranium_devastate"AddSpell, "wi_cranium_resist2"RemoveSpell, "wi_cranium_resist1"RemoveSpell, "wi_cranium_resist3"RemoveSpell, "wi_cranium_resist4"endifif ( state == 0 )if ( GetHealth < 1 )Returnendifif ( GetDistance, Player < 1500 )set craniummultiplier to ( craniummultiplier + 1 )set state to 1endifelseif ( state == 1 )if ( GetDistance, Player > 1510 )set craniummultiplier to ( craniummultiplier - 1 )set state to 0endifif ( GetHealth < 1 )set craniummultiplier to ( craniummultiplier - 1 )set state to 0endifendifif ( GetHealth < 1 )if ( GetCurrentTime > 6 )if ( GetCurrentTime < 20 )disableendifendifendifEnd
to
Begin Cranium_rats;Multiplier - globalfloat oldmultipliershort stateshort dooncefloat demidamagefloat currenthealthfloat healthmodshort randomvalueshort dodemishort dolightlong intrandomlong intelfloat magickaresistSet magickaresist to ( magickaresist + player->GetResistMagicka )Set magickaresist to ( magickaresist + 15 )Set magickaresist to ( magickaresist / 25 )Set intel to ( intel + ( Player->GetIntelligence ) )Set intrandom to ( intrandom + ( Random, 150 ) )Set randomvalue to ( randomvalue + ( Random, 15 ) )Set healthmod to ( player->GetHealthGetRatio )Set currenthealth to ( player->GetHealth )Set currenthealth to ( currenthealth * healthmod )Set demidamage to 0Set demidamage to ( demidamage - currenthealth )Set demidamage to ( demidamage / 2 )Set demidamage to ( demidamage / magickaresist ); in your version rats will have unlimited Magicka, I assume you rather want something like this:if ( oldmultiplier != craniummultiplier ) set oldmultiplier to ( ( craniummultiplier - oldmultiplier ) * 20 ) set oldmultiplier to ( oldmultiplier - 10 ) if ( oldmultiplier > 174 ) set oldmultiplier to 174 endif ModCurrentMagicka oldmultiplier set oldmultiplier to craniummultiplierendif;This will increase the Magicka supply each time a new rat comes in range and ;decrease if a rat leaves the areaif ( craniummultiplier < 3 ) if ( GetDistance, player < 300 ) AddSpell "wi_rat_fear" endifendifif ( craniummultiplier > 2 ) RemoveSpell "wi_rat_fear"endifif ( GetDistance, player > 310 ) RemoveSpell "wi_rat_fear"endifif ( craniummultiplier > 1 ) AddSpell, "wi_cranium_svck" if ( craniummultiplier < 5 ) RemoveSpell, "wi_cranium_polyelemental" AddSpell, "wi_cranium_resist1" RemoveSpell, "wi_cranium_resist2" RemoveSpell, "wi_cranium_resist3" RemoveSpell, "wi_cranium_resist4" endifendifif ( craniummultiplier > 4 ) AddSpell, "wi_cranium_polyelemental" if ( craniummultiplier < 10 ) AddSpell, "wi_cranium_resist2" RemoveSpell, "wi_cranium_lethal" RemoveSpell, "wi_cranium_resist1" RemoveSpell, "wi_cranium_resist3" RemoveSpell, "wi_cranium_resist4" endifendifif ( craniummultiplier < 13 ) RemoveSpell, "wi_cranium_radiant"endifif ( craniummultiplier > 9 ) AddSpell, "wi_cranium_lethal" if ( craniummultiplier < 16 ) AddSpell, "wi_cranium_resist3" RemoveSpell, "wi_cranium_resist1" RemoveSpell, "wi_cranium_resist2" RemoveSpell, "wi_cranium_resist4" RemoveSpell, "wi_cranium_devastate" RemoveSpell, "wi_cranium_resist2" endifendifif ( craniummultiplier > 12 ) AddSpell, "wi_cranium_radiant" if ( randomvalue =http://forums.bethsoft.com/index.php?/topic/1018466-list-wizard-island-support/= 11 ) if ( dodemi == 0 ) player->ModCurrentHealth, demidamage Cast, RatDemi, Player set dodemi to 1 endif endifendifif ( craniummultiplier > 15 ) if ( dolight == 0 ) if ( randomvalue > 13 ) if ( Player->GetSpellEffects, "wi_ratlight" == 0 ) Cast, wi_ratlight, Player set dolight to 1 endif endif endif if ( randomvalue == 4 ) if ( intrandom > intel ) ; fixed Cast, player, "wi_cranium_doom" Cast "wi_cranium_doom" player endif endif AddSpell, "wi_cranium_devastate" AddSpell, "wi_cranium_resist2" RemoveSpell, "wi_cranium_resist1" RemoveSpell, "wi_cranium_resist3" RemoveSpell, "wi_cranium_resist4"endifif ( state == 0 ) if ( GetHealth < 1 ) Return endif if ( GetDistance, Player < 1500 ) set craniummultiplier to ( craniummultiplier + 1 ) set state to 1 endifelseif ( state == 1 ) if ( GetDistance, Player > 1510 ) set craniummultiplier to ( craniummultiplier - 1 ) set state to 0 endif if ( GetHealth < 1 ) set craniummultiplier to ( craniummultiplier - 1 ) set state to 0 endifendifif ( GetHealth < 1 ) if ( GetCurrentTime > 6 ) if ( GetCurrentTime < 20 ) disable endif endifendifEnd