コード例 #1
0
ファイル: NwFaction.cs プロジェクト: nwn-dotnet/Anvil
 internal void AddMember(NwCreature creature)
 {
     faction.AddMember(creature);
 }
コード例 #2
0
 public static InternalVariableInt DamageLevelOverride(NwCreature creature) => creature.GetObjectVariable <InternalVariableInt>("DAMAGE_LEVEL");
コード例 #3
0
ファイル: NwFaction.cs プロジェクト: nwn-dotnet/Anvil
 /// <summary>
 /// Adjusts how this faction feels about the specified creature.
 /// </summary>
 /// <param name="creature">The target creature for the reputation change.</param>
 /// <param name="adjustment">The adjustment in reputation to make.</param>
 public void AdjustReputation(NwCreature creature, int adjustment)
 {
     creature.Creature.AdjustReputation(faction.m_nFactionId, adjustment);
 }
コード例 #4
0
ファイル: CreatureLevelInfo.cs プロジェクト: nwn-dotnet/Anvil
 internal CreatureLevelInfo(NwCreature creature, CNWLevelStats levelStats)
 {
     this.creature   = creature;
     this.levelStats = levelStats;
 }