Este Scipt LUA te da putos de honor al matar los siguentes soldados en diferentes mapas en la Alianza y en la Horda.

Stormwind http://www.wowhead.com/npc=68

Orgrimmar http://www.wowhead.com/npc=3296

INFORMACIÓN SOBRE EL SCRIPT:

Esta es la version v0.1

  • Cuando matas a un guardia, serás recompensado con 100 puntos de honor
  • Cuando te mata un guardia perderás 150 puntos de honor
--[[ Honor system 
by v01t€x v 0.1 

+First honor system script :) in this version only Stormwind and Orgrimmar guards give honor
+Info : When you kill a guard you will be rewarded with 100 honor points
        When you get killed by a guard you will lose 150 honor points
		Suggestion are welcomed :)
]]		

-- functions

function Guard_OnCombat(Unit, Event)
	Unit:SendChatMessage(13, 0, "|cff00ccffHonor system by Voltex")	 
end

function Guard_OnKilledTarget(Unit, Event, Plyr)
	Plyr:TakeHonor(150)
	Unit:SendChatMessage(13, 0, "|cffff0000You just lost 150 Honor Points")     
end		

function Guard_OnDied(Unit, Event, Plyr)
	Plyr:GiveHonor(100)	
	Unit:SendChatMessage(13, 0, "|cff00ff00You have earned 100 Honor Points")
end

-- Stormwind Guard ( Npc_id = 68 )

-- Register Unit Event

RegisterUnitEvent(68, 1, "Guard_OnCombat")
RegisterUnitEvent(68, 3, "Guard_OnKilledTarget")
RegisterUnitEvent(68, 4, "Guard_OnDied")
-------------------------------------------------------------------------------------------
-- Orgrimmar Grunt ( Npc_id = 3296 )

-- Register Unit Event

RegisterUnitEvent(3296, 1, "Guard_OnCombat")
RegisterUnitEvent(3296, 3, "Guard_OnKilledTarget")
RegisterUnitEvent(3296, 4, "Guard_OnDied")

Si desea obtener más puntos de honor por matar o si desea perder más honor por morir simplemente agregue este mod:

Plyr:TakeHonor(150) - mod the number u wanna this is for removing honor
Plyr:GiveHonor(100) - mod the number u wanna this is for giving honor

Leave a Reply

Please Login to comment
  Suscribir  
Notificar de