Welcome to the Builder Academy

Question Weapon that casts spell.

More
23 Jul 2018 04:08 #8148 by Errigour
Is there any way to make a weapon that casts a spell randomly in battle?

Please Log in or Create an account to join the conversation.

More
23 Jul 2018 04:10 #8149 by Errigour
Replied by Errigour on topic Weapon that casts spell.
I want the weapon to cast an assault spell in battle at the victum of the fighter.

Please Log in or Create an account to join the conversation.

More
23 Jul 2018 05:37 #8150 by Errigour
Replied by Errigour on topic Weapon that casts spell.
also while im asking about stuff is it possible to make a script that gives quest points?

Please Log in or Create an account to join the conversation.

More
23 Jul 2018 13:45 #8152 by thomas
Replied by thomas on topic Weapon that casts spell.

Errigour wrote: I want the weapon to cast an assault spell in battle at the victum of the fighter.

Currently the only way to do this is to make a random type trigger and check in the beginning if the wielder is fighting.
Code:
if %self.worn_by.fighting%
See tstat 104 for an example of the actual cast.

Please Log in or Create an account to join the conversation.

More
23 Jul 2018 13:46 #8153 by thomas
Replied by thomas on topic Weapon that casts spell.

Errigour wrote: also while im asking about stuff is it possible to make a script that gives quest points?

Code:
%actor.questpoints(100)%

Please Log in or Create an account to join the conversation.

More
23 Jul 2018 18:13 #8155 by Errigour
Replied by Errigour on topic Weapon that casts spell.
thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds