Quote:
Originally Posted by Aardil
I am looking for a way to scale only certain NPC's. I dont want to scale the whole zone.
Is it possible?
if so how?
Aardil
|
yeah.. you can use default.pl to control any npc in the zone provided they don't already have their own script. Note that stats will stay the same unless using Akka's scaling system or adding a bit more code.
Here is a very simple example of doing that.
Code:
sub EVENT_SPAWN {
$nn = $npc->GetCleanName();
if($nn=~/skeleton/i) {
$npc->SetLevel(60); #:: Set all npcs in the zone with 'skeleton' in their name to level 60
}
if($nn eq "Fippy Darkpaw") {
$npc->SetLevel(75); #:: Set any npc with the name 'Fippy Darkpaw' to level 75
}
}