C# Class SWLOR.Game.Server.Perk.General.Lucky

Inheritance: IPerk
Afficher le fichier Open project: zunath/SWLOR_NWN

Méthodes publiques

Méthode Description
CanCastSpell ( NWCreature oPC, NWObject oTarget, int spellTier ) : string
CastingTime ( NWCreature oPC, float baseCastingTime, int spellTier ) : float
CooldownCategoryID ( NWCreature creature, int? baseCooldownCategoryID, int spellTier ) : int?
CooldownTime ( NWCreature oPC, float baseCooldownTime, int spellTier ) : float
FPCost ( NWCreature oPC, int baseFPCost, int spellTier ) : int
IsHostile ( ) : bool
OnConcentrationTick ( NWCreature creature, NWObject target, int perkLevel, int tick ) : void
OnCustomEnmityRule ( NWCreature creature, int amount ) : void
OnImpact ( NWCreature creature, NWObject target, int perkLevel, int spellTier ) : void
OnItemEquipped ( NWCreature creature, NWItem oItem ) : void
OnItemUnequipped ( NWCreature creature, NWItem oItem ) : void
OnPurchased ( NWCreature creature, int newLevel ) : void
OnRemoved ( NWCreature creature ) : void

Method Details

CanCastSpell() public méthode

public CanCastSpell ( NWCreature oPC, NWObject oTarget, int spellTier ) : string
oPC NWCreature
oTarget NWObject
spellTier int
Résultat string

CastingTime() public méthode

public CastingTime ( NWCreature oPC, float baseCastingTime, int spellTier ) : float
oPC NWCreature
baseCastingTime float
spellTier int
Résultat float

CooldownCategoryID() public méthode

public CooldownCategoryID ( NWCreature creature, int? baseCooldownCategoryID, int spellTier ) : int?
creature NWCreature
baseCooldownCategoryID int?
spellTier int
Résultat int?

CooldownTime() public méthode

public CooldownTime ( NWCreature oPC, float baseCooldownTime, int spellTier ) : float
oPC NWCreature
baseCooldownTime float
spellTier int
Résultat float

FPCost() public méthode

public FPCost ( NWCreature oPC, int baseFPCost, int spellTier ) : int
oPC NWCreature
baseFPCost int
spellTier int
Résultat int

IsHostile() public méthode

public IsHostile ( ) : bool
Résultat bool

OnConcentrationTick() public méthode

public OnConcentrationTick ( NWCreature creature, NWObject target, int perkLevel, int tick ) : void
creature NWCreature
target NWObject
perkLevel int
tick int
Résultat void

OnCustomEnmityRule() public méthode

public OnCustomEnmityRule ( NWCreature creature, int amount ) : void
creature NWCreature
amount int
Résultat void

OnImpact() public méthode

public OnImpact ( NWCreature creature, NWObject target, int perkLevel, int spellTier ) : void
creature NWCreature
target NWObject
perkLevel int
spellTier int
Résultat void

OnItemEquipped() public méthode

public OnItemEquipped ( NWCreature creature, NWItem oItem ) : void
creature NWCreature
oItem NWItem
Résultat void

OnItemUnequipped() public méthode

public OnItemUnequipped ( NWCreature creature, NWItem oItem ) : void
creature NWCreature
oItem NWItem
Résultat void

OnPurchased() public méthode

public OnPurchased ( NWCreature creature, int newLevel ) : void
creature NWCreature
newLevel int
Résultat void

OnRemoved() public méthode

public OnRemoved ( NWCreature creature ) : void
creature NWCreature
Résultat void