Frectorius
September 11th, 2025, 11:20
Hallo All :D
I'm new to the FGU World and especially to extension!
I've seen that my Player has the spell "Entropic Shield" which gives an 20% Miss-Chance for Ranged Attacks. As far as i have seen, this is not automatically rolled. So i tried to create an extension for this case. Later i want to create more to the extension for more automation cases that i find in my campaign.
My Idea - with help of ChatGPT - was to create an Effect on the Character:
Entropic Shield; Ranged Attacks have 20% miss chance; REPLACE
and have an extension to check for that Effect:
-- Entropic Shield Effekt
if rTarget and rRoll.sRange == "R" then
if EffectManager35E.hasEffectCondition(rTarget, "Entropic Shield") then
bEffects = true
nAddMod = nAddMod -- keine Modifikation an Angriffswert
rRoll.nMissChance = 20
table.insert(aAddDesc, "[ENTROPIC SHIELD: MISS CHANCE 20%]")
end
end
This kind of kills all attack rolls. I guess that the Manager are called wrongly.
Sadly i havent found much help for this specific case. Is there a tutorial to create own effects like this?
One Thing i planed for the future is to create a special attack or Spell to "turn undead" for the cleric, but this is something for the future.
I'm new to the FGU World and especially to extension!
I've seen that my Player has the spell "Entropic Shield" which gives an 20% Miss-Chance for Ranged Attacks. As far as i have seen, this is not automatically rolled. So i tried to create an extension for this case. Later i want to create more to the extension for more automation cases that i find in my campaign.
My Idea - with help of ChatGPT - was to create an Effect on the Character:
Entropic Shield; Ranged Attacks have 20% miss chance; REPLACE
and have an extension to check for that Effect:
-- Entropic Shield Effekt
if rTarget and rRoll.sRange == "R" then
if EffectManager35E.hasEffectCondition(rTarget, "Entropic Shield") then
bEffects = true
nAddMod = nAddMod -- keine Modifikation an Angriffswert
rRoll.nMissChance = 20
table.insert(aAddDesc, "[ENTROPIC SHIELD: MISS CHANCE 20%]")
end
end
This kind of kills all attack rolls. I guess that the Manager are called wrongly.
Sadly i havent found much help for this specific case. Is there a tutorial to create own effects like this?
One Thing i planed for the future is to create a special attack or Spell to "turn undead" for the cleric, but this is something for the future.