Skip to content

Commit

Permalink
1.4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
pheonix99 committed May 4, 2023
1 parent d89faef commit 833cdaf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ NOW REQUIRES TabletopTweaks Core Module and ModMenu

## Changelog

###
### 1.4.14

Added Mass Fly

Adjusted


### 1.4.13

Expand Down
4 changes: 2 additions & 2 deletions TomeOfTheFirebird/Bugfixes/FixExtraHitsOnProcs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public static void FixFirebrand()
{
Main.TotFContext.Logger.Log("Fixing Firebrand");
BlueprintBuff firebrandBuff = BlueprintTools.GetBlueprint<BlueprintBuff>("c6cc1c5356db4674dbd2be20ea205c86");
if (firebrandBuff.Components.OfType<AddInitiatorAttackWithWeaponTrigger>().Any())
if (firebrandBuff.Components.OfType<AdditionalDiceOnAttack>().Any())
{
Main.TotFContext.Logger.Log("Removing base weapon damage effect");
//firebrandBuff.Components.Remove(x => x is AddInitiatorAttackWithWeaponTrigger);
BuffConfigurator editer = BuffConfigurator.For(firebrandBuff.AssetGuidThreadSafe).RemoveComponents(x => x is AddInitiatorAttackWithWeaponTrigger);
BuffConfigurator editer = BuffConfigurator.For(firebrandBuff.AssetGuidThreadSafe).RemoveComponents(x => x is AdditionalDiceOnAttack);
editer.AddComponent(new ContextWeaponCategoryExtraDamageDice()
{
ToAllAttacks = true,
Expand Down
2 changes: 1 addition & 1 deletion TomeOfTheFirebird/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "TomeOfTheFirebird",
"DisplayName": "Tome Of The Firebird",
"Author": "pheonix99",
"Version": "1.4.13",
"Version": "1.4.14",
"ManagerVersion": "0.21.3",
"AssemblyName": "TomeOfTheFirebird.dll",
"EntryMethod": "TomeOfTheFirebird.Main.Load",
Expand Down
5 changes: 2 additions & 3 deletions TomeOfTheFirebird/New Content/Spells/ChainsOfFire.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void BuildSpell()
Sprite ChainsOfFireSprite = FireSnake.Icon;
BlueprintProjectile ScorchingRayBeam = BlueprintTools.GetBlueprint<BlueprintProjectile>("8cc159ce94d29fe46a94b80ce549161f");

AbilityConfigurator ChainsMaker = MakerTools.MakeSpell("ChainsOfFire", "Chains Of Fire", $"This spell functions like chain lightning, except as noted above, and the spell deals fire damage instead of electricity damage. \n \nChain Lightning: {ChainLightning.Description}", ChainsOfFireSprite, SpellSchool.Evocation, LocalizedStrings.RefHalf, new Kingmaker.Localization.LocalizedString());
AbilityConfigurator ChainsMaker = MakerTools.MakeSpell("ChainsOfFire", "Chains Of Fire", $"This spell functions like chain lightning, except as noted above, and the spell deals fire damage instead of electricity damage. \n \nChain Lightning: {ChainLightning.Description}", ChainsOfFireSprite, SpellSchool.Evocation, LocalizedStrings.RefHalf, new Kingmaker.Localization.LocalizedString(), true, SpellDescriptor.Fire);
ChainsMaker.SetRange(AbilityRange.Medium);
ChainsMaker.AllowTargeting(enemies: true);
ChainsMaker.SetSpellResistance(true);
Expand All @@ -54,8 +54,7 @@ public static void BuildSpell()
});
}
}
ChainsMaker.SetSpellDescriptor(SpellDescriptor.Fire);
//ActionsBuilder chainAct =


ChainsMaker.AddAbilityEffectRunAction(ActionsBuilder.New().DealDamage(new Kingmaker.RuleSystem.Rules.Damage.DamageTypeDescription() { Energy = Kingmaker.Enums.Damage.DamageEnergyType.Fire, Type = Kingmaker.RuleSystem.Rules.Damage.DamageType.Energy }, new ContextDiceValue() { DiceType = Kingmaker.RuleSystem.DiceType.D6, DiceCountValue = new Kingmaker.UnitLogic.Mechanics.ContextValue() { ValueType = ContextValueType.Rank }, BonusValue = new Kingmaker.UnitLogic.Mechanics.ContextValue() { ValueType = ContextValueType.Shared } }, halfIfSaved: true, isAoE: true),savingThrowType: Kingmaker.EntitySystem.Stats.SavingThrowType.Reflex);

Expand Down

0 comments on commit 833cdaf

Please sign in to comment.