|
Thread: Heroes Can Cast 1 Additional spell every 10 knowledge points! | |
|
Orc
Famous Hero
|
posted September 26, 2017 02:42 AM |
|
Edited by Orc at 03:04, 26 Sep 2017.
|
Heroes Can Cast 1 Additional spell every 10 knowledge points!
Hello,
I want any heroes with 10 knowledge able to cast 2 spells, and heroes with 90 knowledge able to cast 10 spells.
And in general, any hero is able to cast (knowledge/10 +1) times, rounded down
Is that possible to do? (Including all mana cost).
Will ai cast multi spells in 1 round or just me?
|
|
RerryR
Promising
Supreme Hero
Researching Magic
|
posted September 26, 2017 09:09 AM |
|
|
This script gives you 1 extra cast per combat. It's part of my Magic Weeks Mod.
You can use this as start. Just insert you condition and replace v2125 and this line !!HE-1:S8/?y4;.
!?BA0&1000;
!!SN:W^Magic_Week_34_att^/1; [Extra Cast Variable Attacker Set 1]
!!SN:W^Magic_Week_34_def^/1; [Extra Cast Variable Defender Set 1]
!?BG1&1000/v2125=34; [1 extra cast per combat week 34]
!!HE-1:S8/?y4;
!!FU&y4=0:E;
!!BG:Q?y1;
!!SN&y1=0:W^Magic_Week_34_att^/?y2;
!!SN&y1=1:W^Magic_Week_34_def^/?y2;
!!FU&y2=0:E;
!!BHy1:M?y3;
!!FU&y3=0:E;
!!BHy1:M0;
!!SN&y1=0:W^Magic_Week_34_att^/0;
!!SN&y1=1:W^Magic_Week_34_def^/0;
|
|
orc
Famous Hero
|
posted September 26, 2017 08:14 PM |
|
Edited by orc at 20:14, 26 Sep 2017.
|
RerryR said: This script gives you 1 extra cast per combat. It's part of my Magic Weeks Mod.
You can use this as start. Just insert you condition and replace v2125 and this line !!HE-1:S8/?y4;.
!?BA0&1000;
!!SN:W^Magic_Week_34_att^/1; [Extra Cast Variable Attacker Set 1]
!!SN:W^Magic_Week_34_def^/1; [Extra Cast Variable Defender Set 1]
!?BG1&1000/v2125=34; [1 extra cast per combat week 34]
!!HE-1:S8/?y4;
!!FU&y4=0:E;
!!BG:Q?y1;
!!SN&y1=0:W^Magic_Week_34_att^/?y2;
!!SN&y1=1:W^Magic_Week_34_def^/?y2;
!!FU&y2=0:E;
!!BHy1:M?y3;
!!FU&y3=0:E;
!!BHy1:M0;
!!SN&y1=0:W^Magic_Week_34_att^/0;
!!SN&y1=1:W^Magic_Week_34_def^/0;
ok, so I will somehow have to "get knowledge" from here
ill give it a go and see what happens, lol
|
|
|