Line 55: | Line 55: | ||
*Returns='' '' | *Returns='' '' | ||
*Example=''NPC.RemoveGlobalTimer( )'' | *Example=''NPC.RemoveGlobalTimer( )'' | ||
+ | |||
+ | |||
+ | =====NPC.UpdateQuestFlag(npcID As Integer) As Boolean===== | ||
+ | *Description='' '' | ||
+ | ;'''Values''' | ||
+ | :* npcID='' '' | ||
+ | *Returns='' '' | ||
+ | *Example=''NPC.UpdateQuestFlag( )'' | ||
Revision as of 09:09, 1 November 2017
Contents
- 1 NPC
- 1.1 NPC.RandomMove(ByVal pID As Integer, bypassStatus As Boolean) As Boolean
- 1.2 NPC.Move(ByVal pID As Integer, roomDirection As Integer) As Boolean
- 1.3 NPC.PartyCheck(npcID As Integer, pID As Integer) As Boolean
- 1.4 NPC.ExperienceCalculate(ByVal nID As Integer, ByVal pID As Integer, pidIsPlayer As Boolean, ByVal damage As Integer, ByVal death As Boolean)
- 1.5 NPC.AddGlobalTimer(npcID As Integer)
- 1.6 NPC.RemoveGlobalTimer(npcID As Integer) As Boolean
- 1.7 NPC.UpdateQuestFlag(npcID As Integer) As Boolean
- 1.8 NPC.Get.PartyOwner(ByVal nID As Integer) As Integer
- 1.9 NPC.Get.AttackDelayMinimum(ByVal nID As Integer) As Integer
- 1.10 NPC.Get.AttackDelayMaximum(ByVal nID As Integer) As Integer
- 1.11 NPC.Get.Charm(ByVal nID As Integer) As Double
- 1.12 NPC.Get.DamageMinimum(ByVal nID As Integer) As Integer
- 1.13 NPC.Get.DamageMaximum(ByVal nID As Integer) As Integer
- 1.14 NPC.Get.ExperienceHit(ByVal nID As Integer) As Long
- 1.15 NPC.Get.ExperienceSlay(ByVal nID As Integer) As Long
- 1.16 NPC.Get.Infravision(ByVal nID As Integer) As Double
- 1.17 NPC.Get.Follow(ByVal nID As Integer) As Double
- 1.18 NPC.Get.SpawnTime(ByVal nID As Integer) As Integer
- 1.19 NPC.Get.BName(ByVal nID As Integer) As String
- 1.20 NPC.Get.AttackAgility(ByVal nID As Integer) As Integer
- 1.21 NPC.Get.Rarity(ByVal nID As Integer) As Integer
- 1.22 NPC.Get.OriginalGold(ByVal nID As Integer) As Long
- 1.23 NPC.Get.TameTauntLevel(ByVal nID As Integer) As Integer
- 1.24 NPC.Get.DisbandOnAttack(ByVal nID As Integer) As Boolean
- 1.25 NPC.Set.DisbandOnAttack(ByVal nID As Integer, ByVal updateValue As Boolean) As Boolean
- 1.26 NPC.Set.TameTauntLevel(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.27 NPC.Set.OriginalGold(ByVal nID As Integer, ByVal updateValue As Long) As Long
- 1.28 NPC.Set.Strength(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.29 NPC.Set.Agility(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.30 NPC.Set.Endurance(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.31 NPC.Set.Intelligence(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.32 NPC.Set.Wisdom(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.33 NPC.Set.Charisma(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.34 NPC.Set.MaxAttacks(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.35 NPC.Set.Exhaust(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.36 NPC.Set.AttackDelayMinimum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.37 NPC.Set.AttackDelayMaximum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.38 NPC.Set.DamageMinimum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.39 NPC.Set.DamageMaximum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.40 NPC.Set.Armor(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.41 NPC.Set.Deflect(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.42 NPC.Set.Charm(ByVal nID As Integer, ByVal updateValue As Double) As Double
- 1.43 NPC.Set.Infravision(ByVal nID As Integer, ByVal updateValue As Double) As Double
- 1.44 NPC.Set.Follow(ByVal nID As Integer, ByVal updateValue As Double) As Double
- 1.45 NPC.Set.ExperienceHit(ByVal nID As Integer, ByVal updateValue As Long) As Long
- 1.46 NPC.Set.ExperienceSlay(ByVal nID As Integer, ByVal updateValue As Long) As Long
- 1.47 NPC.Set.BName(ByVal nID As Integer, ByVal updateValue As String)
- 1.48 NPC.Set.RaceName(ByVal nID As Integer, ByVal updateValue As String)
- 1.49 NPC.Set.DropItems(ByVal nID As Integer, ByVal updateValue As String)
- 1.50 NPC.Set.DropMode(ByVal nID As Integer, ByVal updateValue As Integer)
- 1.51 NPC.Set.Divinity(ByVal nID As Integer, ByVal updateValue As String)
- 1.52 NPC.Set.Name(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- 1.53 NPC.Set.Party(ByVal nID As Integer, ByVal pID As Integer, Optional ByVal updateRoom As Boolean = False, Optional ByVal updatePlayerList As Boolean = False)
- 1.54 NPC.Set.PartyAttack(ByVal nID As Integer, ByVal attack As Integer)
- 1.55 NPC.Set.PCType(ByVal nID As Integer, Optional ByVal updateValue As String = "")
- 1.56 NPC.Set.Expire(ByVal nID As Integer, ByVal expireTime As Integer)
- 1.57 NPC.Set.AttackAgility(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.58 NPC.Set.Rarity(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.59 NPC.Set.SpellNegation(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.60 NPC.Set.SpellResistance(ByVal nID As Integer, ByVal updateValue As Double) As Double
- 1.61 NPC.Set.MaxHP(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- 1.62 NPC.Set.DeathMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- 1.63 NPC.Set.VanishMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- 1.64 NPC.Set.LookMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- 1.65 NPC.Set.BonusDamage(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String, Update As Integer)
- 1.66 NPC.Set.BonusResist(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String, Update As Integer)
- 1.67 NPC.Remove.BonusDamage(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String)
- 1.68 NPC.Remove.BonusResist(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String)
NPC
NPC.RandomMove(ByVal pID As Integer, bypassStatus As Boolean) As Boolean
- Description=
- Values
- pID=
- bypassStatus=
- Returns=
- Example=NPC.RandomMove( )
NPC.Move(ByVal pID As Integer, roomDirection As Integer) As Boolean
- Description=
- Values
- pID=
- roomDirection=
- Returns=
- Example=NPC.Move( )
NPC.PartyCheck(npcID As Integer, pID As Integer) As Boolean
- Description=
- Values
- npcID=
- pID=
- Returns=
- Example=NPC.PartyCheck( )
NPC.ExperienceCalculate(ByVal nID As Integer, ByVal pID As Integer, pidIsPlayer As Boolean, ByVal damage As Integer, ByVal death As Boolean)
- Description=
- Values
- nID=
- pID=
- pidIsPlayer=
- damage=
- death=
- Returns=
- Example=NPC.ExperienceCalculate( )
NPC.AddGlobalTimer(npcID As Integer)
- Description=
- Values
- npcID=
- Returns=
- Example=NPC.AddGlobalTimer( )
NPC.RemoveGlobalTimer(npcID As Integer) As Boolean
- Description=
- Values
- npcID=
- Returns=
- Example=NPC.RemoveGlobalTimer( )
NPC.UpdateQuestFlag(npcID As Integer) As Boolean
- Description=
- Values
- npcID=
- Returns=
- Example=NPC.UpdateQuestFlag( )
NPC.Get.PartyOwner(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.PartyOwner( )
NPC.Get.AttackDelayMinimum(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.AttackDelayMinimum( )
NPC.Get.AttackDelayMaximum(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.AttackDelayMaximum( )
NPC.Get.Charm(ByVal nID As Integer) As Double
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.Charm( )
NPC.Get.DamageMinimum(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.DamageMinimum( )
NPC.Get.DamageMaximum(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.DamageMaximum( )
NPC.Get.ExperienceHit(ByVal nID As Integer) As Long
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.ExperienceHit( )
NPC.Get.ExperienceSlay(ByVal nID As Integer) As Long
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.ExperienceSlay( )
NPC.Get.Infravision(ByVal nID As Integer) As Double
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.Infravision( )
NPC.Get.Follow(ByVal nID As Integer) As Double
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.Follow( )
NPC.Get.SpawnTime(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.SpawnTime( )
NPC.Get.BName(ByVal nID As Integer) As String
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.BName( )
NPC.Get.AttackAgility(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.AttackAgility( )
NPC.Get.Rarity(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.Rarity( )
NPC.Get.OriginalGold(ByVal nID As Integer) As Long
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.OriginalGold( )
NPC.Get.TameTauntLevel(ByVal nID As Integer) As Integer
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.TameTauntLevel( )
NPC.Get.DisbandOnAttack(ByVal nID As Integer) As Boolean
- Description=
- Values
- nID=
- Returns=
- Example=NPC.Get.DisbandOnAttack( )
NPC.Set.DisbandOnAttack(ByVal nID As Integer, ByVal updateValue As Boolean) As Boolean
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.DisbandOnAttack( )
NPC.Set.TameTauntLevel(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.TameTauntLevel( )
NPC.Set.OriginalGold(ByVal nID As Integer, ByVal updateValue As Long) As Long
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.OriginalGold( )
NPC.Set.Strength(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Strength( )
NPC.Set.Agility(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Agility( )
NPC.Set.Endurance(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Endurance( )
NPC.Set.Intelligence(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Intelligence( )
NPC.Set.Wisdom(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Wisdom( )
NPC.Set.Charisma(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Charisma( )
NPC.Set.MaxAttacks(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.MaxAttacks( )
NPC.Set.Exhaust(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Exhaust( )
NPC.Set.AttackDelayMinimum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.AttackDelayMinimum( )
NPC.Set.AttackDelayMaximum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.AttackDelayMaximum( )
NPC.Set.DamageMinimum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.DamageMinimum( )
NPC.Set.DamageMaximum(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.DamageMaximum( )
NPC.Set.Armor(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Armor( )
NPC.Set.Deflect(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Deflect( )
NPC.Set.Charm(ByVal nID As Integer, ByVal updateValue As Double) As Double
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Charm( )
NPC.Set.Infravision(ByVal nID As Integer, ByVal updateValue As Double) As Double
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Infravision( )
NPC.Set.Follow(ByVal nID As Integer, ByVal updateValue As Double) As Double
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Follow( )
NPC.Set.ExperienceHit(ByVal nID As Integer, ByVal updateValue As Long) As Long
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.ExperienceHit( )
NPC.Set.ExperienceSlay(ByVal nID As Integer, ByVal updateValue As Long) As Long
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.ExperienceSlay( )
NPC.Set.BName(ByVal nID As Integer, ByVal updateValue As String)
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.BName( )
NPC.Set.RaceName(ByVal nID As Integer, ByVal updateValue As String)
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.RaceName( )
NPC.Set.DropItems(ByVal nID As Integer, ByVal updateValue As String)
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.DropItems( )
NPC.Set.DropMode(ByVal nID As Integer, ByVal updateValue As Integer)
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.DropMode( )
NPC.Set.Divinity(ByVal nID As Integer, ByVal updateValue As String)
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Divinity( )
NPC.Set.Name(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- Description=
- Values
- nID=
- updateValue "=
- Returns=
- Example=NPC.Set.Name( )
NPC.Set.Party(ByVal nID As Integer, ByVal pID As Integer, Optional ByVal updateRoom As Boolean = False, Optional ByVal updatePlayerList As Boolean = False)
- Description=
- Values
- nID=
- pID=
- updateRoom False=
- updatePlayerList False=
- Returns=
- Example=NPC.Set.Party( )
NPC.Set.PartyAttack(ByVal nID As Integer, ByVal attack As Integer)
- Description=
- Values
- nID=
- attack=
- Returns=
- Example=NPC.Set.PartyAttack( )
NPC.Set.PCType(ByVal nID As Integer, Optional ByVal updateValue As String = "")
- Description=
- Values
- nID=
- attack=
- Returns=
- Example=NPC.Set.PCType( )
NPC.Set.Expire(ByVal nID As Integer, ByVal expireTime As Integer)
- Description=
- Values
- nID=
- expireTime=
- Returns=
- Example=NPC.Set.Expire( )
NPC.Set.AttackAgility(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.AttackAgility( )
NPC.Set.Rarity(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.Rarity( )
NPC.Set.SpellNegation(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.SpellNegation( )
NPC.Set.SpellResistance(ByVal nID As Integer, ByVal updateValue As Double) As Double
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.SpellReduction( )
NPC.Set.MaxHP(ByVal nID As Integer, ByVal updateValue As Integer) As Integer
- Description=
- Values
- nID=
- updateValue=
- Returns=
- Example=NPC.Set.MaxHP( )
NPC.Set.DeathMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- Description=
- Values
- nID=
- updateValue "=
- Returns=
- Example=NPC.Set.DeathMessage( )
NPC.Set.VanishMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- Description=
- Values
- nID=
- updateValue "=
- Returns=
- Example=NPC.Set.VanishMessage( )
NPC.Set.LookMessage(ByVal nID As Integer, Optional ByVal updateValue As String = ")
- Description=
- Values
- nID=
- updateValue "=
- Returns=
- Example=NPC.Set.LookMessage( )
NPC.Set.BonusDamage(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String, Update As Integer)
- Description=
- Values
- pID=
- isIDPlayer=
- damageBonusName=
- Update=
- Returns=
- Example=NPC.Set.BonusDamage( )
NPC.Set.BonusResist(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String, Update As Integer)
- Description=
- Values
- pID=
- isIDPlayer=
- damageBonusName=
- Update=
- Returns=
- Example=NPC.Set.BonusResist( )
NPC.Remove.BonusDamage(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String)
- Description=
- Values
- pID=
- isIDPlayer=
- damageBonusName=
- Returns=
- Example=NPC.Remove.BonusDamage( )
NPC.Remove.BonusResist(ByVal pID As Integer, isIDPlayer As Boolean, ByVal damageBonusName As String)
- Description=
- Values
- pID=
- isIDPlayer=
- damageBonusName=
- Returns=
- Example=NPC.Remove.BonusResist( )